GET
/
signin
/
provider
/
{provider}
/
callback
OAuth2 provider callback endpoint
curl --request GET \
  --url https://{subdomain}.auth.{region}.nhost.run/v1/signin/provider/{provider}/callback
This response has no body data.

Path Parameters

provider
enum<string>
required
deprecated

The name of the social provider

Available options:
apple,
github,
google,
linkedin,
discord,
spotify,
twitch,
gitlab,
bitbucket,
workos,
azuread,
strava,
facebook,
windowslive,
twitter

Query Parameters

code
string

Authorization code provided by the authentication provider

id_token
string

ID token provided by the authentication provider

state
string
required

State parameter to avoid CSRF attacks

oauth_token
string

OAuth token for the provider (e.g., X)

oauth_verifier
string

OAuth verifier for the provider (e.g., X)

error
string

Error message if authentication failed

error_description
string

Detailed error description if authentication failed

error_uri
string

URI with more information about the error